package cn.dzh.service.impl;


import cn.dzh.mapper.UsersMapper;

import cn.dzh.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pojo.entity.Users;

/**
 * ClassName: UsersServiceImpl
 * Package: cn.dzh.service.impl
 */
@Service
public class UsersServiceImpl implements UsersService {
    @Autowired
    private UsersMapper usersMapper;


    @Override
    public Users findByUsersId(Integer userId) {
        return usersMapper.findByUserId(userId);
    }
}
